package com.yeyks.commonReference.service.calendar;

import com.yeyks.common.ajax.AjaxResponseBody;
import com.yeyks.hotel.dal.domain.RoomCalendarJipInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yeyks.hotel.dal.domain.RoomCalendarVipInfo;
import com.yeyks.hotel.dal.domain.RoomInfo;
import com.yeyks.hotel.param.UpdateRoomCalendarBatchParam;

import java.util.List;


/**
 * <p>
 * 精选房间日历信息表 服务类
 * </p>
 *
 * @author yun
 * @since 2019-09-16
 */
public interface RoomCalendarJipInfoService extends IService<RoomCalendarJipInfo> {

    void createRoomCalendarJipInfoDo(List<RoomInfo> roomInfos);
    /**
     * 修改房态状态为未生效
     *
     * @param id
     * @param status
     */
    int updateRoomCalendarStatus(Integer id, Integer status);


    /**
     * 初始化一个月房态信息
     * @param roomInfo
     * @return
     */
    void initJIPRoomCalendar(RoomInfo roomInfo);

    /**
     * 批量更新一个月房态信息
     * @param updateRoomCalendarBatchParam
     * @return
     */
    AjaxResponseBody updateRoomCalendarBatch(UpdateRoomCalendarBatchParam updateRoomCalendarBatchParam);

    /**
     * 查询出一个月的房态信息
     * @param roomId
     * @return
     */
    List<RoomCalendarJipInfo> selectVIPRoomCalendar(Integer roomId);

}
